home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeePPPPoooossssiiiittttiiiioooonnnnssss((((3333XXXX))))UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVVXXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeePPPPoooossssiiiittttiiiioooonnnnssss((((3333XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- _X_m_L_i_s_t_R_e_p_l_a_c_e_P_o_s_i_t_i_o_n_s - A List function that replaces items
- in a list based on position
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- #include <Xm/List.h>
-
- void XmListReplacePositions (wwwwiiiiddddggggeeeetttt,,,, ppppoooossssiiiittttiiiioooonnnn____lllliiiisssstttt,,,, iiiitttteeeemmmm____lllliiiisssstttt,,,, iiiitttteeeemmmm____ccccoooouuuunnnntttt)
- _W_i_d_g_e_t wwwwiiiiddddggggeeeetttt;
- _i_n_t *ppppoooossssiiiittttiiiioooonnnn____lllliiiisssstttt;
- _X_m_S_t_r_i_n_g *iiiitttteeeemmmm____lllliiiisssstttt;
- _i_n_t iiiitttteeeemmmm____ccccoooouuuunnnntttt;;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _X_m_L_i_s_t_R_e_p_l_a_c_e_P_o_s_i_t_i_o_n_s replaces noncontiguous items in a
- list. The item at each position specified in ppppoooossssiiiittttiiiioooonnnn____lllliiiisssstttt
- is replaced with the corresponding entry in iiiitttteeeemmmm____lllliiiisssstttt. When
- the items are inserted into the list, they are compared with
- the current _X_m_N_s_e_l_e_c_t_e_d_I_t_e_m_s list. Any of the new items
- that match items on the selected list appears selected. A
- warning message is displayed if a specified position is
- invalid; that is, the value is 0, a negative integer, or a
- number greater than the number of items in the list.
-
- wwwwiiiiddddggggeeeetttt
- Specifies the ID of the List widget.
-
- ppppoooossssiiiittttiiiioooonnnn____lllliiiisssstttt
- Specifies an array of the positions of items to be
- replaced. The position of the first item in the list
- is 1; the position of the second item is 2; and so on.
-
- iiiitttteeeemmmm____lllliiiisssstttt
- Specifies an array of the replacement items.
-
- iiiitttteeeemmmm____ccccoooouuuunnnntttt
- Specifies the number of elements in ppppoooossssiiiittttiiiioooonnnn____lllliiiisssstttt and
- iiiitttteeeemmmm____lllliiiisssstttt. This number must be non-negative.
-
- For a complete definition of List and its associated
- resources, see _X_m_L_i_s_t(_3_X).
-
- RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
- _X_m_L_i_s_t(_3_X).
-
-
-
-
-
-
-
-
-
-
-
- Page 1 (printed 11/11/03)
-
-
-
-